package com.atjava.nebula.core.tablexml.view;

import java.io.Serializable;
import java.util.List;

import com.atjava.jox.annotation.ClassProps;
import com.atjava.jox.annotation.FieldProps;
import com.atjava.jox.annotation.FieldProps.ElementType;

@ClassProps(alias = "modal-view")
public class ModalView implements Serializable,IdObject{
	
	@FieldProps
	private String id;
	
	@FieldProps
	private String title;
	
	@FieldProps
	private String type;
	
	@FieldProps(type = ElementType.ELEMENTLIST)
	private List<Property> properties;

	public List<Property> getProperties() {
		return properties;
	}

	public void setProperties(List<Property> properties) {
		this.properties = properties;
	}
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
